package com.five.community.bean;

import lombok.*;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public class Parking {

    private long id;  //编号

    @NonNull
    private String parkingId;  //车位编号
    @NonNull
    private String parkingName;  //车位名称
    @NonNull
    private Date createDate;  //创建时间
    @NonNull
    private boolean state;  //状态，0=使用中，1=闲置中
    @NonNull
    private long vid;  //所属小区编号

    public Parking(long id) {
        this.id = id;
    }
}
